<template>
  <div>
      {{msg}}
      <button @click="handle">翻转</button>
  </div>
  
</template>

<script>
export default {
data () {
    return {
        msg:'HELLO WORLD!'
    }
},
methods:{
    handle(){
       this.msg = this.msg.split("").reverse().join("") 
    }
}
}
</script>

<style>

</style>